#include <stdio.h>
int main() {
	float m, x, i;
	x = i = m = 1;
	while (m >= 1e-6) {
		m = m * i / (2 * i + 1);
		x = x + m;
		i++;
	}
	x = x * 2;
	printf ("%f", x);
}
